package com.onlyxiahui.common.action.description.enums.annotation;

/**
 * Description <br>
 * Date 2020-01-08 09:21:07<br>
 * 
 * @author XiaHui [onlovexiahui@qq.com]<br>
 * @since 1.0.0
 */

public enum ParameterMapping {

	/**
	 * Define
	 */
	Define("com.onlyxiahui.common.annotation.parameter.Define"),
	/**
	 * RequestBody
	 */
	RequestBody("org.springframework.web.bind.annotation.RequestBody"),
	/**
	 * RequestParam
	 */
	RequestParam("org.springframework.web.bind.annotation.RequestParam"),
	/**
	 * PathVariable
	 */
	PathVariable("org.springframework.web.bind.annotation.PathVariable");

	private String annotation;

	ParameterMapping(String annotation) {
		this.annotation = annotation;
	}

	public String getAnnotation() {
		return annotation;
	}

	public void setAnnotation(String annotation) {
		this.annotation = annotation;
	}
}
